<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>javalist</title>
    <link th:href="@{/common/layui-new/layui/css/layui.css}" rel="stylesheet" type="text/css"/>
    <link th:href="@{/common/layui/admin.css}" rel="stylesheet" type="text/css"/>
    <script th:src="@{/common/layui-new/layui/layui.js}"></script>
    <script th:src="@{/common/jquery/jquery.js}"></script>
    <link rel="stylesheet" th:href="@{/common/SyntaxHighlighter/styles/shCore.css}" type="text/css">
    <link rel="stylesheet" th:href="@{/common/SyntaxHighlighter/styles/shThemeDefault.css}" type="text/css">

    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/XRegExp.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shCore.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushJava.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushJScript.js}"></script>
    <script type="text/javascript" th:src="@{/common/SyntaxHighlighter/scripts/shBrushSql.js}"></script>
</head>
<body>
<div class="layui-fluid">
    <div class="layui-row layui-col-space18">
        <div class="layui-col-md12">
            <div th:each="javafile,iterStat : ${current}">
                <div class="layui-card">
                    <div class="layui-card-header" th:style="'color:red;'" th:text="${javafile.key}"></div>
                    <div class="layui-card-body">
                        <pre th:text="${javafile.value}" class="brush: java">
                            <div ></div>
                        </pre>
                    </div>
                </div>
            </div>
            <div th:each="javafile,iterStat : ${past}">
                <div class="layui-card">
                    <div class="layui-card-header" th:style="'color:blue;'" th:text="${javafile.key}"></div>
                    <div class="layui-card-body">
                        <pre th:text="${javafile.value}" class="brush: java">
                            <div ></div>
                        </pre>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
</body>
<script type="text/javascript">
    SyntaxHighlighter.highlight();//设置代码高亮
</script>
</html>